From cf1ba586fed00341fdc3155285cf3ccaaa48bcc7 Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 23 Jul 2005 05:07:10 +0000 Subject: [PATCH] Copy hint on a dupe. --- gpsbabel/waypt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gpsbabel/waypt.c b/gpsbabel/waypt.c index 6fa26d4e0..04d244b08 100644 --- a/gpsbabel/waypt.c +++ b/gpsbabel/waypt.c @@ -66,6 +66,9 @@ waypt_dupe(const waypoint *wpt) if (wpt->gc_data.placer) { tmp->gc_data.placer = xstrdup(wpt->gc_data.placer); } + if (wpt->gc_data.hint) { + tmp->gc_data.hint = xstrdup(wpt->gc_data.hint); + } /* * It's important that this duplicated waypoint not appear -- 2.30.2